import { Module } from '@nestjs/common';
import { MongooseModule } from '@nestjs/mongoose'
import { ChatMessageService } from './chatMessage.service';
import { ChatMessageController } from './chatMessage.controller';
import { ChatMessageSchema } from './schemas/chatMessage.schema';
@Module({
  imports: [
    MongooseModule.forFeature([{ name: 'ChatMessage', schema: ChatMessageSchema }])
],
  controllers: [ChatMessageController],
  providers: [ChatMessageService]
})
export class ChatMessageModule {}
